

<link rel="stylesheet" href="/statics/webadmin/plugins/editor.md-master/css/editormd.min.css" />


<h2 class="contentTitle">文章发布</h2>
<form method="post" action="demo/common/ajaxDone.html" class="pageForm required-validate" onsubmit="return validateCallback(this)">
    <div class="pageContent">
        <div class=" sortDrag" layoutH="97">

            <div style="margin: 0 0 10px 10px;">
                <label>文章标题：</label>
				<input name="title" class="required" type="text" placeholder="请输入文章标题" />
			</div>

            <div id="editormd" style="width: 90%">
                <textarea style="display:none;"></textarea>
            </div>
        </div>

        <div class="formBar">
            <ul>
                <li><div class="buttonActive"><div class="buttonContent"><button type="submit">保存</button></div></div></li>
                <li><div class="button"><div class="buttonContent"><button class="close" type="button">关闭</button></div></div></li>
            </ul>
        </div>

    </div>
</form>



<script src="/statics/webadmin/plugins/editor.md-master/editormd.min.js"></script>
<script type="text/javascript">
    $(function() {
        var editor = editormd("editormd", {
            path : "/statics/webadmin/plugins/editor.md-master/lib/" // Autoload modules mode, codemirror, marked... dependents libs path
        });

        /*
        // or
        var editor = editormd({
            id   : "editormd",
            path : "../lib/"
        });
        */
    });
</script>